Action

public final class Action extends AsyncCallbackAction<R>

An action providing a response to the StartDownloadCallback.

Constructors

Link copied to clipboard
public void StartDownloadCallback.Action(Consumer<StartDownload.Response> consumer)

Functions

Link copied to clipboard
public void cancel()
Notifies the engine that the file download should be canceled.
Link copied to clipboard
public void download(Path destFilePath)
Notifies the engine that the file should be downloaded into the given target path.
Link copied to clipboard
public final boolean isClosed()
Returns true if this action is closed.